﻿using System;
using System.Runtime.Serialization;

namespace Sps.Abrs.Model
{
    /// <summary>
    /// Layerinfo:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    [DataContract]
    public class Layerinfo
    {
        #region Model
        private int _id;
        private string _name;
        private string _caption;
        private bool _queryable = true;
        /// <summary>
        /// 
        /// </summary>
        [DataMember(Order = 0)]
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember(Order = 1)]
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember(Order = 2)]
        public string caption
        {
            set { _caption = value; }
            get { return _caption; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember(Order = 3)]
        public bool queryable
        {
            set { _queryable = value; }
            get { return _queryable; }
        }
        #endregion Model

    }
}

